package com.hotel.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoomInventory extends BaseEntity{
    /**
     * 库存id
     */
    private Integer id;
    /**
     * 房间类型id
     */
    private Integer roomTypeId;
    /**
     * 库存日期
     */
    private LocalDateTime inventoryDate;
    /**
     * 总房间数量
     */
    private Integer totalRooms;
    /**
     * 已预订/入住房间数量
     */
    private Integer bookedRooms;
    /**
     * 可用房间数量
     */
    private Integer availableRooms;
}
